package com.etc.service.impl;

import com.etc.dao.InfobarDao;
import com.etc.entity.Infobar;
import com.etc.service.InfobarService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class InfobarServiceImpl implements InfobarService {

    @Resource
    private InfobarDao infobarDao;
    @Override
    public int insert(Infobar infobar) {
        return infobarDao.insert(infobar);
    }



}
